home *** CD-ROM | disk | FTP | other *** search
-
- #include "includes.h"
- #include "installergui_data.h"
-
- /********************************************************************
- *
- * DESCRIPTION
- *
- */
-
- /********************************************************************
- *
- * STATIC
- *
- */
-
- /********************************************************************
- *
- * EXTERN
- *
- */
-
- /********************************************************************
- *
- * PUBLIC
- *
- */
-
- /********************************************************************
- *
- * CODE
- *
- */
-
- char * __asm igui_GetNextEntry(register __a0 APTR application)
- {
- #ifdef DEBUG
- DEBUG_MAKRO
- #endif
-
- {
- struct Application *app = (struct Application *) application;
- struct FileInfoBlock *fib;
-
- // get the next active list entry
- DoMethod(app->app_DirlistList, MUIM_List_NextSelected, &app->app_DirlistWalker);
-
- // return NULL, if the end of the list was reached
- if (app->app_DirlistWalker == MUIV_List_NextSelected_End) { return(NULL); }
-
- // otherwise get the currently active list entry
- else
- {
- DoMethod(app->app_DirlistList, MUIM_List_GetEntry, app->app_DirlistWalker, &fib);
- return((char *) &(fib -> fib_FileName));
- }
- }
- }
-